package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account    string `gorm:"type:varchar(30);not null"`
	Password   string `gorm:"type:varchar(300);not null"`
	Image      string `gorm:"type:varchar(300);not null"` //头像
	Age        int    `gorm:"type:int(11);not null"`      //年龄
	Birthplace string `gorm:"type:varchar(300);not null"` //籍贯
	Email      string `gorm:"type:varchar(300);not null"` //邮箱
}
